/*    
 * Copyright (c) 2013 ISoftStone, Inc.
 * All right reserved.
 *
 * 文件名：      PayReceiptServiceImpl.java
 * 作者:     Jacky Wang
 * 创建日期： 2013-9-26 下午02:20:35
 * 版本：           
 *
 */
package com.isoftstone.industry.aaa.core.service.assist.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.isoftstone.industry.persistance.bean.PayReceipt;
import com.isoftstone.industry.aaa.core.dao.assist.PayReceiptDao;
import com.isoftstone.industry.aaa.core.service.assist.IPayReceiptService;
import com.isoftstone.modules.core.persistence.IGenericDao;
import com.isoftstone.modules.core.service.impl.GenericServiceImpl;

/**
 * @author jacky
 */
@Service
public class PayReceiptServiceImpl extends GenericServiceImpl<PayReceipt, String> implements IPayReceiptService
{

	@Resource
	private PayReceiptDao	payReceiptDao;

	@Override
	public IGenericDao<PayReceipt, String> getDao()
	{
		return payReceiptDao;
	}

	@Override
	public PayReceipt findByOrder(String orderId)
	{
		return payReceiptDao.findByOrder(orderId);
	}

}
